public class TestQueue extends Thread {
	public static void main(String args[]) {
		// extending the execution time
		for(int i = 0; i<3; i++) {
			System.out.println("Execution time pass "+i*5+" seconds.");
			try {
				sleep(5000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
}
